}
static void
-gtc_lap_start(const route_head* rte)
+gtc_lap_start(const route_head*)
{
gtc_least_time = gpsbabel::DateTime();
gtc_most_time = gpsbabel::DateTime();
}
static void
-gtc_act_ftr(const route_head* rte)
+gtc_act_ftr(const route_head*)
{
gtc_write_xml(-1, "</Track>\n");
gtc_write_xml(-1, "</Lap>\n");
}
static void
-gtc_crs_ftr(const route_head* rte)
+gtc_crs_ftr(const route_head*)
{
gtc_write_xml(-1,"</Track>\n");
gtc_write_xml(-1, "</Course>\n");
}
void
-gtc_trk_s(const xg_string unused, const QXmlStreamAttributes*attrs)
+gtc_trk_s(const xg_string , const QXmlStreamAttributes*)
{
trk_head = route_head_alloc();
track_add_head(trk_head);
}
void
-gtc_trk_lap_s(xg_string unused, const QXmlStreamAttributes*attrs)
+gtc_trk_lap_s(xg_string, const QXmlStreamAttributes*)
{
lap_ct++;
lap_s = 1;
}
void
-gtc_trk_lap_e(xg_string unused, const QXmlStreamAttributes*attrs)
+gtc_trk_lap_e(xg_string, const QXmlStreamAttributes*)
{
lap_s = 0;
}
void
-gtc_trk_pnt_s(xg_string unused, const QXmlStreamAttributes*attrs)
+gtc_trk_pnt_s(xg_string, const QXmlStreamAttributes*)
{
wpt_tmp = new Waypoint;
}
void
-gtc_trk_pnt_e(xg_string args, const QXmlStreamAttributes*)
+gtc_trk_pnt_e(xg_string, const QXmlStreamAttributes*)
{
if (wpt_tmp->longitude != 0. && wpt_tmp->latitude != 0.) {
if (lap_s) {
}
void
-gtc_wpt_crs_s(const QString& args, const QXmlStreamAttributes*)
+gtc_wpt_crs_s(const QString&, const QXmlStreamAttributes*)
{
wpt_tmp = new Waypoint;
}
void
-gtc_wpt_crs_e(xg_string args, const QXmlStreamAttributes*)
+gtc_wpt_crs_e(xg_string, const QXmlStreamAttributes*)
{
if (wpt_tmp->longitude != 0. && wpt_tmp->latitude != 0.) {
waypt_add(wpt_tmp);
}
void
-gtc_wpt_pnt_s(xg_string unused, const QXmlStreamAttributes*attrs)
+gtc_wpt_pnt_s(xg_string, const QXmlStreamAttributes*)
{
wpt_tmp = new Waypoint;
lap_ct++;
}
void
-gtc_wpt_pnt_e(xg_string args, const QXmlStreamAttributes*)
+gtc_wpt_pnt_e(xg_string, const QXmlStreamAttributes*)
{
if (wpt_tmp->longitude != 0. && wpt_tmp->latitude != 0.) {
/* Add the begin position of a CourseLap as